package com.mindskip.xzs.domain;
import java.io.Serializable;
import java.util.Date;
import java.util.UUID;


public class Klass implements Serializable{

    private static final long serialVersionUID = 90450372647232L;

    private Integer id;
    /**
     * 班级名称
     */
    private String name;
    /**
     * 班级口令
     */
    private String countersign;
    /**
     * 班级人数
     */
    private Integer num;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    private Boolean deleted;

    public Klass(){
        this.countersign = UUID.randomUUID().toString();
    }
    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCountersign() {
        return countersign;
    }

    public void setCountersign(String countersign) {
        this.countersign = countersign;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
